<?php if(!defined('IN_PISCES')){exit('Access Denied.');}?>
<script src="{$this->data['baseurl']}js/imagescroll.js"></script>
{if !empty($this->data['adList']) && !empty($this->data['adList'][27])}
<!--{loop $this->data['adList'][27] $mk $item}-->
<div class="ad-all mb5">
{$item['code']}
</div>
<!--{/loop}-->
{/if}
<div id="news-main">
	<div class="news-b">
		{if !empty($this->data['adList']) && !empty($this->data['adList'][25])}
		<!--{loop $this->data['adList'][25] $mk $item}-->
		<div class="index-ad mb5">
		{$item['code']}
		</div>
		<!--{/loop}-->
		{/if}
		
		{if !empty($this->data['moduleList'])}
		<!--{loop $this->data['moduleList'] $mk $item}-->
		
		<div class="pindao-module-{if $mk%2==0}l{else}r{/if}">
		<h1><span>{$item['info']['name']}</span>{if $item['info']['link']}<a target="_blank" href="{$item['info']['link']}">更多</a>{/if}</h1>
		<dl>
		<!--{loop $item['data'] $key $product}-->
		{if $key<3}
		<dt><span><a target="_blank" href="{url('Default','View',array('id'=>$this->data['cf']->getId($product['num_iid'])))}"><img alt="{strip_tags($product['title'])}" src="{$this->data['baseurl']}images/loading.gif" u="{EncodeImg $product['pic_url']}_b.{$this->data['cf']->getFileExt($product['pic_url'])}" /></a></span>
		<p class="pindao-module-title"><a target="_blank" href="{url('Default','View',array('id'=>$this->data['cf']->getId($product['num_iid'])))}">{strip_tags($product['title'])}</a></p>
		<p class="pindao-module-price"><b>￥</b><em>{$product['price']}</em>元</p>
		</dt>
		{/if}
		<!--{/loop}-->
		</dl>
		<div class="clear"></div>
		<ul>
		<!--{loop $item['data'] $key $product}-->
		{if $key>=3 && $key<=6}
		<li><a target="_blank" href="{url('Default','View',array('id'=>$this->data['cf']->getId($product['num_iid'])))}">{strip_tags($product['title'])}</a></li>
		{/if}
		<!--{/loop}-->
		</ul>
		</div>
		<!--{/loop}-->
		{/if}
		
		{if !empty($this->data['adList']) && !empty($this->data['adList'][26])}
		<div class="clear"></div>
		<!--{loop $this->data['adList'][26] $mk $item}-->
		<div class="index-ad{if $mk>0} mt5{/if}">
		{$item['code']}
		</div>
		<!--{/loop}-->
		{/if}
	</div>
</div>
<div class="news-b">
	{if !empty($this->data['adList']) && !empty($this->data['adList'][23])}
	<!--{loop $this->data['adList'][23] $mk $item}-->
	<div class="index-left-ad mb5">
	{$item['code']}
	</div>
	<!--{/loop}-->
	{/if}
	<div class="article-left-2">
    <div class="article-left-header-2"><h3>最受欢迎的商品</h3></div>
    <div class="article-left-body-2">
       <ul class="article-new-list-2">
		{HotView(10,array('num_iid','title'))}
		{if !empty($pvRecentViewList)}
		<!--{loop $pvRecentViewList $k $item}-->
		<li><a title="{$item['title']}" {if $k%3==0}class="h"{/if} target="_blank" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}">{$item['title']}</a></li>
		<!--{/loop}-->
		{/if}
       </ul>
    </div>
    </div>
    <div class="article-left-2">
    <div class="article-left-header-2"><h3>最新浏览的商品</h3></div>
    <div class="article-left-body-2">
       <ul class="article-new-list-2">
       {RecentView(10,array('num_iid','title'))}
		{if !empty($pvRecentViewList)}
		<!--{loop $pvRecentViewList $k $item}-->
		<li><a title="{$item['title']}" {if $k%3==0}class="h"{/if} target="_blank" href="{url('Default','View',array('id'=>$this->data['cf']->getId($item['num_iid'])))}">{$item['title']}</a></li>
		<!--{/loop}-->
		{/if}
       </ul>
    </div>
    </div>
	{if !empty($this->data['adList']) && !empty($this->data['adList'][24])}
	<!--{loop $this->data['adList'][24] $mk $item}-->
	<div class="index-left-ad mb5">
	{$item['code']}
	</div>
	<!--{/loop}-->
	{/if}
</div>
{if !empty($this->data['adList']) && !empty($this->data['adList'][28])}
<div class="clear"></div>
<!--{loop $this->data['adList'][28] $mk $item}-->
<div class="ad-all{if $mk>0} mt5{/if}">
{$item['code']}
</div>
<!--{/loop}-->
{/if}
<script language="javascript">
replaceImage();
</script>